Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 791 Bytes

File metadata and controls

30 lines (21 loc) · 791 Bytes

Nagios, Icinga

  • Icinga 1 - Object Tricks: Negative hostgroup definitions

    define service {
        ...
        hostgroup_name   all,!testing
        ...
    }
    
  • Icinga 2 - Matching check definitions on hosts/hostgroups

    apply Service "MyService" {
        # service definition...
    
        assign where host.name == "MyHost1"
        assign where match("hostprefix-*", host.name)
        assign where "MyHostGroup" in host.groups
    }
    
  • Mod-Gearman: Nagios distributed checking (previously called Naemon)

  • Gearman Debugging:

    gearman-top
    

Misc